//
//  JJTHttpTransportUrlConfigManager.h
//  ClaimPlatform_RN
//
//  Created by gongjian on 2018/4/4.
//  Copyright © 2018 jj. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JJTHttpTransportUrlConfigManager : NSObject

@property (nonatomic, strong) NSMutableDictionary *urlConfigDic;
@property (nonatomic, copy) NSString *environmentName;

+ (instancetype)sharedInstance;

- (void)addUrlConfig:(NSDictionary *)urlConfigDic;

- (NSString *)serverUrl:(NSString *)identity;
- (NSString *)serverHostWithIdentity:(NSString *)identity;
- (NSString *)serverPathWithIdentity:(NSString *)identity;

- (BOOL)existForIdentity:(NSString *)identity;

@end
